]> dgit.raspbian.org Git - gnome-shell.git/commit
main: Do not export DBus interfaces before initializing the UI
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 8 Mar 2013 20:04:15 +0000 (21:04 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 14 Mar 2013 16:28:31 +0000 (17:28 +0100)
commitec014a7ecf7cde01675773ef5571e8a1c79c72b4
treeb7cbc58540df739e9be439e37297b94413e2cc54
parenta8c87f3bab5a1d2ef2f177dbd30833ea86f38c1a
main: Do not export DBus interfaces before initializing the UI

Since commit 7cdb75e7ce76, initializing UI is deferred until the session
mode has been loaded. However DBus is still initialized immediately,
which means that for DBus methods that access properties in Main, there
is now a window between the method being exposed on the bus and the
method being ready to be called. At least g-s-d grabbing global keybindings
is likely to fall in this window on session startup, and almost guaranteed
when regrabbing bindings after a shell restart.
To fix, defer initializing DBus as well.

https://bugzilla.gnome.org/show_bug.cgi?id=694321
js/ui/main.js